package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * WMS订单接口异常表
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-06
 */
@TableName("WMS_ORDER_EXCEPTION")
public class WmsOrderException extends Model<WmsOrderException> {

	private static final long serialVersionUID = 1L;

	/**
	 * 客户名称
	 */
	private String customname;

	/**
	 * 客户ID
	 */
	private Long customid;

	/**
	 * 修改时间
	 */
	@TableField(value="GMT_MODIFY")
	private Date gmtModify;

	/**
	 * 创建时间
	 */
	@TableField(value="GMT_CREATE")
	private Date gmtCreate;

	/**
	 * 是否处理
	 */
	private Integer flag;

	/**
	 * 异常信息
	 */
	@TableField(value="EXCEPTION_MSG")
	private String exceptionMsg;

	/**
	 * 车架号
	 */
	private String vin;

	/**
	 * 交接单号
	 */
	@TableField(value="HANDOVER_NUMBER")
	private String handoverNumber;

	/**
	 * 主键
	 */
	@TableId(type = IdType.INPUT)
	private Long id;

	public String getCustomname() {
		return customname;
	}

	public void setCustomname(String customname) {
		this.customname = customname;
	}

	public Long getCustomid() {
		return customid;
	}

	public void setCustomid(Long customid) {
		this.customid = customid;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getExceptionMsg() {
		return exceptionMsg;
	}

	public void setExceptionMsg(String exceptionMsg) {
		this.exceptionMsg = exceptionMsg;
	}

	public String getVin() {
		return vin;
	}

	public void setVin(String vin) {
		this.vin = vin;
	}

	public String getHandoverNumber() {
		return handoverNumber;
	}

	public void setHandoverNumber(String handoverNumber) {
		this.handoverNumber = handoverNumber;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}